home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / August 96 / Re FW_CString.7 < prev    next >
Encoding:
Internet Message Format  |  1996-08-22  |  1.5 KB  |  [TEXT/ttxt]

  1. Subject:     Re: FW_CString
  2. Sent:        8/22/96 9:24 AM
  3. Received:    8/22/96 9:04 AM
  4. From:        Scott Adler, sadler@spss.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >By the selection color I assume you mean the highlight color. In ODF 1 If 
  9. >you use the FW_kHilite transfer mode with your ink and black for the 
  10. >foreground color you will get the system highlight color. We changed that 
  11. >in ODF 2: FW_kHilite always uses the ink foreground color, 
  12. >FW_kSystemHilite ignores the ink foreground color and uses instead the 
  13. >system hightlight color.
  14. >
  15. >........................................................................
  16. > Henri Lamiraux                                      lamiraux@apple.com
  17. > Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  18. >........................................................................
  19.  
  20.  
  21. OK, this seems to be a way to get an object to draw in the highlight 
  22. color, but for highlighting text I want to be smart about the highlight 
  23. and I wnat to get the correct highlight background color, and the 
  24. corresponding foreground color. For example, if the user has Green as the 
  25. highlight color, that corresponds to green background with black text. If 
  26. they have black as the highlight color that corresponds to black 
  27. background with white text.
  28.  
  29. Is there a way to get both the background and foreground colors correctly 
  30. for my highlighted text object?
  31.  
  32. -Scott Adler
  33.